home *** CD-ROM | disk | FTP | other *** search
/ QuickTime VR Showcase / QuickTime VR Showcase.iso / 3rd Parties / Software / Apple / AMT 2.1 New Features Demo / SOURCES / oMore_Features_1_12.k < prev    next >
Encoding:
Text File  |  1996-12-21  |  12.6 KB  |  595 lines  |  [TEXT/MPS ]

  1. object oMore_Features_1_12 is cDefaultContainer
  2. with
  3.     Binder is oBinder;
  4.     Label is -1;
  5.     Items is [
  6.         oKeyboard_Volume__12_40,
  7.         oMF_BCK1_PIC_12_11,
  8.         oExit_Inverse_12_16,
  9.         oClick_Sound__Up__12_17,
  10.         oClick_Sound__down__12_18,
  11.         oArrow_Right_Yellow_Highligh_12_19,
  12.         oArrow_Left_Yellow_Highlight_12_20,
  13.         oExit_Yellow_Highlight_12_21,
  14.         oMenu_Yellow_Highlight_12_23,
  15.         oExplain_Yellow_Highlight_12_34,
  16.         oArrow_Left_Inverse_12_24,
  17.         oArrow_Right_Inverse_12_25,
  18.         oExplain_Inverse_12_26,
  19.         oMenu_Inverse_12_27,
  20.         oMF_FRN_PIC_12_28,
  21.         oMF_FRNT_PIC_12_29,
  22.         oFrame_View_Controller__12_30,
  23.         oMF_HLP1_PIC_12_35
  24.     ];
  25. end;
  26.  
  27.  
  28. object oKeyboard_Volume__12_40 is cKeyboardHandler
  29. with
  30.     Behavior is cDefaultBehavior
  31.     has
  32.         KeyDown(theTarget, theKey)
  33.         use
  34.             KeyMatch;
  35.             
  36.             do
  37.                 KeyMatch := theKey = '-';
  38.                 if KeyMatch then
  39.                     theTarget.DoDefaultMethod := false;
  40.                 
  41.                     oSoundVolume.StepIndexBy(-1);
  42.                 end;
  43.                 KeyMatch := theKey = '=';
  44.                 if KeyMatch then
  45.                     theTarget.DoDefaultMethod := false;
  46.                 
  47.                     oSoundVolume.StepIndexBy(1);
  48.                 end;
  49.                 KeyMatch := theKey = '+';
  50.                 if KeyMatch then
  51.                     theTarget.DoDefaultMethod := false;
  52.                 
  53.                     oSoundVolume.StepIndexBy(1);
  54.                 end;
  55.             end;
  56.         
  57.     with
  58.         Enabled is true; Shown is false; 
  59.         X is 30; Y is 24; Width is 0; Height is 0;
  60.     end;
  61. end;
  62.  
  63.  
  64. object oMF_BCK1_PIC_12_11 is cPictureHandler
  65. with
  66.     Duration is -1;
  67.     Supplier is oMF_BCK1_PIC;
  68.     Behavior is cDefaultBehavior
  69.     has
  70.     with
  71.         Enabled is false; Shown is true; 
  72.         X is 0; Y is 0; Width is 640; Height is 480;
  73.     end;
  74. end;
  75.  
  76.  
  77. object oExit_Inverse_12_16 is cPictureHandler
  78. with
  79.     Duration is -1;
  80.     Supplier is oS2_ETI_PIC;
  81.     Behavior is cDefaultBehavior
  82.     has
  83.         Offscreen(theTarget)
  84.             do
  85.                 theTarget.Show(false);
  86.                 theTarget.Enable(false);
  87.             end;
  88.         
  89.     with
  90.         Enabled is true; Shown is true; 
  91.         X is 528; Y is 439; Width is 112; Height is 42;
  92.     end;
  93. end;
  94.  
  95.  
  96. object oClick_Sound__Up__12_17 is cSoundHandler
  97. with
  98.     Supplier is oS3_2clk_WAV;
  99.     Behavior is cDefaultBehavior
  100.     has
  101.     with
  102.         Enabled is true; Shown is true; 
  103.         X is 247; Y is 128; Width is 32; Height is 24;
  104.     end;
  105. end;
  106.  
  107.  
  108. object oClick_Sound__down__12_18 is cSoundHandler
  109. with
  110.     Supplier is oS3_clk_WAV;
  111.     Behavior is cDefaultBehavior
  112.     has
  113.     with
  114.         Enabled is true; Shown is true; 
  115.         X is 304; Y is 228; Width is 32; Height is 24;
  116.     end;
  117. end;
  118.  
  119.  
  120. object oArrow_Right_Yellow_Highligh_12_19 is cPictureHandler
  121. with
  122.     Duration is -1;
  123.     Supplier is oS2_ALYH_PIC;
  124.     Behavior is cDefaultBehavior
  125.     has
  126.         Offscreen(theTarget)
  127.             do
  128.                 theTarget.Show(false);
  129.             end;
  130.         
  131.         MouseEnter(theTarget, theX, theY)
  132.             do
  133.                 theTarget.Show(true);
  134.             end;
  135.         
  136.         MouseLeave(theTarget, theX, theY)
  137.             do
  138.                 theTarget.Show(false);
  139.             end;
  140.         
  141.         MouseDown(theTarget, theX, theY)
  142.             do
  143.                 theTarget.Show(false);
  144.                 oArrow_Right_Inverse_12_25.Show(true);
  145.                 -- Turn off the spining cursor, if there is one
  146.                 if oBinder.MouseSpin<>void then
  147.                     if oBinder.MouseSpin.IsRunning() then
  148.                         oBinder.MouseSpin.Stop();
  149.                     end;
  150.                     oBinder.MouseSpin := void;
  151.                 end;
  152.                 theTarget.Container.OverrideCursor := true;
  153.                 oBinder.MouseSpin := oHandSpin;
  154.                 if (oBinder.MouseSpin @ 1).Data=void then
  155.                     oBinder.MouseSpin.EachUp(Load);
  156.                 end;
  157.                 if not oBinder.MouseSpin.IsRunning() then
  158.                     oBinder.MouseSpin.Start();
  159.                 end;
  160.                 oBinder.Refresh();
  161.                 oClick_Sound__down__12_18.Run(true);
  162.             end;
  163.         
  164.         MouseUp(theTarget, theX, theY)
  165.             do
  166.                 theTarget.Show(true);
  167.                 oArrow_Right_Inverse_12_25.Show(false);
  168.                 -- Turn off the spining cursor, if there is one
  169.                 if oBinder.MouseSpin<>void then
  170.                     if oBinder.MouseSpin.IsRunning() then
  171.                         oBinder.MouseSpin.Stop();
  172.                     end;
  173.                     oBinder.MouseSpin := void;
  174.                 end;
  175.                 theTarget.Container.OverrideCursor := false;
  176.                 oBinder.Refresh();
  177.                 oClick_Sound__Up__12_17.Run(true);
  178.                 oBinder.Goto(oMore_Features_2_13);
  179.                 oBinder.SetTransition(oWipeRight, 30);
  180.             end;
  181.         
  182.     with
  183.         Enabled is true; Shown is true; 
  184.         X is 473; Y is 426; Width is 55; Height is 54;
  185.     end;
  186. end;
  187.  
  188.  
  189. object oArrow_Left_Yellow_Highlight_12_20 is cPictureHandler
  190. with
  191.     Duration is -1;
  192.     Supplier is oS2_ARYH_PIC;
  193.     Behavior is cDefaultBehavior
  194.     has
  195.         Offscreen(theTarget)
  196.             do
  197.                 theTarget.Show(false);
  198.             end;
  199.         
  200.         MouseEnter(theTarget, theX, theY)
  201.             do
  202.                 theTarget.Show(true);
  203.             end;
  204.         
  205.         MouseLeave(theTarget, theX, theY)
  206.             do
  207.                 theTarget.Show(false);
  208.             end;
  209.         
  210.         MouseDown(theTarget, theX, theY)
  211.             do
  212.                 theTarget.Show(false);
  213.                 oArrow_Left_Inverse_12_24.Show(true);
  214.                 -- Turn off the spining cursor, if there is one
  215.                 if oBinder.MouseSpin<>void then
  216.                     if oBinder.MouseSpin.IsRunning() then
  217.                         oBinder.MouseSpin.Stop();
  218.                     end;
  219.                     oBinder.MouseSpin := void;
  220.                 end;
  221.                 theTarget.Container.OverrideCursor := true;
  222.                 oBinder.MouseSpin := oHandSpin;
  223.                 if (oBinder.MouseSpin @ 1).Data=void then
  224.                     oBinder.MouseSpin.EachUp(Load);
  225.                 end;
  226.                 if not oBinder.MouseSpin.IsRunning() then
  227.                     oBinder.MouseSpin.Start();
  228.                 end;
  229.                 oBinder.Refresh();
  230.                 oClick_Sound__down__12_18.Run(true);
  231.             end;
  232.         
  233.         MouseUp(theTarget, theX, theY)
  234.             do
  235.                 theTarget.Show(true);
  236.                 oArrow_Left_Inverse_12_24.Show(false);
  237.                 -- Turn off the spining cursor, if there is one
  238.                 if oBinder.MouseSpin<>void then
  239.                     if oBinder.MouseSpin.IsRunning() then
  240.                         oBinder.MouseSpin.Stop();
  241.                     end;
  242.                     oBinder.MouseSpin := void;
  243.                 end;
  244.                 theTarget.Container.OverrideCursor := false;
  245.                 oBinder.Refresh();
  246.                 oClick_Sound__Up__12_17.Run(true);
  247.                 oBinder.Goto(oMain_Menu_1);
  248.                 oBinder.SetTransition(oWipeRight, 30);
  249.             end;
  250.         
  251.     with
  252.         Enabled is true; Shown is true; 
  253.         X is 377; Y is 426; Width is 60; Height is 54;
  254.     end;
  255. end;
  256.  
  257.  
  258. object oExit_Yellow_Highlight_12_21 is cPictureHandler
  259. with
  260.     Duration is -1;
  261.     Supplier is oS2_ETYH_PIC;
  262.     Behavior is cDefaultBehavior
  263.     has
  264.         Offscreen(theTarget)
  265.             do
  266.                 theTarget.Show(false);
  267.             end;
  268.         
  269.         MouseEnter(theTarget, theX, theY)
  270.             do
  271.                 theTarget.Show(true);
  272.             end;
  273.         
  274.         MouseLeave(theTarget, theX, theY)
  275.             do
  276.                 theTarget.Show(false);
  277.             end;
  278.         
  279.         MouseDown(theTarget, theX, theY)
  280.             do
  281.                 theTarget.Show(false);
  282.                 oExit_Inverse_12_16.Show(true);
  283.                 -- Turn off the spining cursor, if there is one
  284.                 if oBinder.MouseSpin<>void then
  285.                     if oBinder.MouseSpin.IsRunning() then
  286.                         oBinder.MouseSpin.Stop();
  287.                     end;
  288.                     oBinder.MouseSpin := void;
  289.                 end;
  290.                 theTarget.Container.OverrideCursor := true;
  291.                 oBinder.MouseSpin := oHandSpin;
  292.                 if (oBinder.MouseSpin @ 1).Data=void then
  293.                     oBinder.MouseSpin.EachUp(Load);
  294.                 end;
  295.                 if not oBinder.MouseSpin.IsRunning() then
  296.                     oBinder.MouseSpin.Start();
  297.                 end;
  298.                 oBinder.Refresh();
  299.                 oClick_Sound__down__12_18.Run(true);
  300.             end;
  301.         
  302.         MouseUp(theTarget, theX, theY)
  303.             do
  304.                 theTarget.Show(true);
  305.                 oExit_Inverse_12_16.Show(false);
  306.                 -- Turn off the spining cursor, if there is one
  307.                 if oBinder.MouseSpin<>void then
  308.                     if oBinder.MouseSpin.IsRunning() then
  309.                         oBinder.MouseSpin.Stop();
  310.                     end;
  311.                     oBinder.MouseSpin := void;
  312.                 end;
  313.                 theTarget.Container.OverrideCursor := false;
  314.                 oBinder.Refresh();
  315.                 oClick_Sound__Up__12_17.Run(true);
  316.                 oBinder.Quit();
  317.             end;
  318.         
  319.     with
  320.         Enabled is true; Shown is true; 
  321.         X is 528; Y is 426; Width is 111; Height is 54;
  322.     end;
  323. end;
  324.  
  325.  
  326. object oMenu_Yellow_Highlight_12_23 is cPictureHandler
  327. with
  328.     Duration is -1;
  329.     Supplier is oS2_MNUYH_PIC;
  330.     Behavior is cDefaultBehavior
  331.     has
  332.         Offscreen(theTarget)
  333.             do
  334.                 theTarget.Show(false);
  335.             end;
  336.         
  337.         MouseEnter(theTarget, theX, theY)
  338.             do
  339.                 theTarget.Show(true);
  340.             end;
  341.         
  342.         MouseLeave(theTarget, theX, theY)
  343.             do
  344.                 theTarget.Show(false);
  345.             end;
  346.         
  347.         MouseDown(theTarget, theX, theY)
  348.             do
  349.                 theTarget.Show(false);
  350.                 oMenu_Inverse_12_27.Show(true);
  351.                 -- Turn off the spining cursor, if there is one
  352.                 if oBinder.MouseSpin<>void then
  353.                     if oBinder.MouseSpin.IsRunning() then
  354.                         oBinder.MouseSpin.Stop();
  355.                     end;
  356.                     oBinder.MouseSpin := void;
  357.                 end;
  358.                 theTarget.Container.OverrideCursor := true;
  359.                 oBinder.MouseSpin := oHandSpin;
  360.                 if (oBinder.MouseSpin @ 1).Data=void then
  361.                     oBinder.MouseSpin.EachUp(Load);
  362.                 end;
  363.                 if not oBinder.MouseSpin.IsRunning() then
  364.                     oBinder.MouseSpin.Start();
  365.                 end;
  366.                 oBinder.Refresh();
  367.                 oClick_Sound__down__12_18.Run(true);
  368.             end;
  369.         
  370.         MouseUp(theTarget, theX, theY)
  371.             do
  372.                 theTarget.Show(true);
  373.                 oMenu_Inverse_12_27.Show(false);
  374.                 -- Turn off the spining cursor, if there is one
  375.                 if oBinder.MouseSpin<>void then
  376.                     if oBinder.MouseSpin.IsRunning() then
  377.                         oBinder.MouseSpin.Stop();
  378.                     end;
  379.                     oBinder.MouseSpin := void;
  380.                 end;
  381.                 theTarget.Container.OverrideCursor := false;
  382.                 oBinder.Refresh();
  383.                 oClick_Sound__Up__12_17.Run(true);
  384.                 oBinder.Goto(oMain_Menu_1);
  385.                 oBinder.SetTransition(oWipeRight, 30);
  386.             end;
  387.         
  388.     with
  389.         Enabled is true; Shown is true; 
  390.         X is 163; Y is 427; Width is 126; Height is 53;
  391.     end;
  392. end;
  393.  
  394.  
  395. object oExplain_Yellow_Highlight_12_34 is cPictureHandler
  396. with
  397.     Duration is -1;
  398.     Supplier is oS2_EXYH_PIC;
  399.     Behavior is cDefaultBehavior
  400.     has
  401.         Offscreen(theTarget)
  402.             do
  403.                 theTarget.Show(false);
  404.             end;
  405.         
  406.         MouseEnter(theTarget, theX, theY)
  407.             do
  408.                 theTarget.Show(true);
  409.                 -- Turn off the spining cursor, if there is one
  410.                 if oBinder.MouseSpin<>void then
  411.                     if oBinder.MouseSpin.IsRunning() then
  412.                         oBinder.MouseSpin.Stop();
  413.                     end;
  414.                     oBinder.MouseSpin := void;
  415.                 end;
  416.                 theTarget.Container.OverrideCursor := true;
  417.                 if oQueryCursor=void then
  418.                     oQueryCursor.Load();
  419.                 end;
  420.                 oQueryCursor.Set();
  421.             end;
  422.         
  423.         MouseLeave(theTarget, theX, theY)
  424.             do
  425.                 theTarget.Show(false);
  426.                 -- Turn off the spining cursor, if there is one
  427.                 if oBinder.MouseSpin<>void then
  428.                     if oBinder.MouseSpin.IsRunning() then
  429.                         oBinder.MouseSpin.Stop();
  430.                     end;
  431.                     oBinder.MouseSpin := void;
  432.                 end;
  433.                 theTarget.Container.OverrideCursor := false;
  434.             end;
  435.         
  436.         MouseDown(theTarget, theX, theY)
  437.             do
  438.                 theTarget.Show(false);
  439.                 oExplain_Inverse_12_26.Show(true);
  440.                 oBinder.Refresh();
  441.                 oClick_Sound__down__12_18.Run(true);
  442.                 oMF_HLP1_PIC_12_35.Show(not oMF_HLP1_PIC_12_35.IsShown());
  443.                 oFrame_View_Controller__12_30.Enable(not oFrame_View_Controller__12_30.IsEnabled());
  444.             end;
  445.         
  446.         MouseUp(theTarget, theX, theY)
  447.             do
  448.                 theTarget.Show(true);
  449.                 oExplain_Inverse_12_26.Show(false);
  450.                 oBinder.Refresh();
  451.                 oClick_Sound__Up__12_17.Run(true);
  452.             end;
  453.         
  454.     with
  455.         Enabled is true; Shown is true; 
  456.         X is 289; Y is 427; Width is 87; Height is 53;
  457.     end;
  458. end;
  459.  
  460.  
  461. object oArrow_Left_Inverse_12_24 is cPictureHandler
  462. with
  463.     Duration is -1;
  464.     Supplier is oS2_ALI_PIC;
  465.     Behavior is cDefaultBehavior
  466.     has
  467.         Offscreen(theTarget)
  468.             do
  469.                 theTarget.Show(false);
  470.                 theTarget.Enable(false);
  471.             end;
  472.         
  473.     with
  474.         Enabled is true; Shown is true; 
  475.         X is 381; Y is 441; Width is 51; Height is 40;
  476.     end;
  477. end;
  478.  
  479.  
  480. object oArrow_Right_Inverse_12_25 is cPictureHandler
  481. with
  482.     Duration is -1;
  483.     Supplier is oS2_ARI_PIC;
  484.     Behavior is cDefaultBehavior
  485.     has
  486.         Offscreen(theTarget)
  487.             do
  488.                 theTarget.Show(false);
  489.                 theTarget.Enable(false);
  490.             end;
  491.         
  492.     with
  493.         Enabled is true; Shown is true; 
  494.         X is 477; Y is 438; Width is 50; Height is 42;
  495.     end;
  496. end;
  497.  
  498.  
  499. object oExplain_Inverse_12_26 is cPictureHandler
  500. with
  501.     Duration is -1;
  502.     Supplier is oS2_EXI_PIC;
  503.     Behavior is cDefaultBehavior
  504.     has
  505.         Offscreen(theTarget)
  506.             do
  507.                 theTarget.Show(false);
  508.                 theTarget.Enable(false);
  509.             end;
  510.         
  511.     with
  512.         Enabled is true; Shown is true; 
  513.         X is 291; Y is 438; Width is 87; Height is 43;
  514.     end;
  515. end;
  516.  
  517.  
  518. object oMenu_Inverse_12_27 is cPictureHandler
  519. with
  520.     Duration is -1;
  521.     Supplier is oS2_MNUI_PIC;
  522.     Behavior is cDefaultBehavior
  523.     has
  524.         Offscreen(theTarget)
  525.             do
  526.                 theTarget.Show(false);
  527.                 theTarget.Enable(false);
  528.             end;
  529.         
  530.     with
  531.         Enabled is true; Shown is true; 
  532.         X is 167; Y is 438; Width is 123; Height is 43;
  533.     end;
  534. end;
  535.  
  536.  
  537. object oMF_FRN_PIC_12_28 is cPictureViewHandler
  538. with
  539.     Duration is -1;
  540.     ScrollX is -20;
  541.     ScrollY is -200;
  542.     Supplier is oMF_FRN_PIC;
  543.     Behavior is cDefaultBehavior
  544.     has
  545.     with
  546.         Enabled is false; Shown is true; 
  547.         X is 260; Y is 2; Width is 380; Height is 422;
  548.     end;
  549. end;
  550.  
  551.  
  552. object oMF_FRNT_PIC_12_29 is cPictureViewThumbnailHandler
  553. with
  554.     Duration is -1;
  555.     Supplier is oMF_FRNT_PIC;
  556.     Behavior is cDefaultBehavior
  557.     has
  558.     with
  559.         Enabled is false; Shown is true; 
  560.         X is 173; Y is 274; Width is 144; Height is 150;
  561.     end;
  562. end;
  563.  
  564.  
  565. object oFrame_View_Controller__12_30 is cFrameViewControllerHandler
  566. with
  567.     Duration is -1;
  568.     FrameWidth is 4;
  569.     Red is 120; Green is 0; Blue is 0;
  570.     AutoResize is true;
  571.     Behavior is cDefaultBehavior
  572.     has
  573.     with
  574.         Enabled is true; Shown is true; 
  575.         X is 173; Y is 274; Width is 67; Height is 74;
  576.         Region is {
  577.             $004A0002, $00000043, $FFFFFFFF
  578.         };
  579.     end;
  580. end;
  581.  
  582.  
  583. object oMF_HLP1_PIC_12_35 is cPictureHandler
  584. with
  585.     Duration is -1;
  586.     Supplier is oMF_HLP1_PIC;
  587.     Behavior is cDefaultBehavior
  588.     has
  589.     with
  590.         Enabled is false; Shown is false; 
  591.         X is 173; Y is 0; Width is 467; Height is 424;
  592.     end;
  593. end;
  594.  
  595.